const fetch = require('node-fetch');

fetch("http://zqbinary.icu:8283/owdl/index.html", {
    "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9,en;q=0.8",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "cross-site"
    },
    "referrer": "http://yc.ionewu.com/?host=http%3A%2F%2Fzqbinary.icu%3A8283",
    "referrerPolicy": "no-referrer-when-downgrade",
    "body": null,
    "method": "GET",
    "mode": "cors"
}).then(res => {
    console.log('f', res.status)
    // console.log('f1', res.statusText)
    // console.log('f2', res.text())
    return res.text();
}).then(html => {
    console.log('f3', html)
}).catch((err) => {
    console.log('fa', err)
});
